# -*- coding: utf-8 -*-
import xadmin
from import_export import resources
from .models import *


class UserProfileResource(resources.ModelResource):
    class Meta:
        model = UserProfile
        fields = [field.name for field in UserProfile._meta.fields]


class ClerkResource(resources.ModelResource):

    class Meta:
        model = Clerk
        fields = [field.name for field in Clerk._meta.fields]


class CustomerResource(resources.ModelResource):

    class Meta:
        model = Customer
        fields = [field.name for field in Customer._meta.fields]